package cifrado;

public abstract class BaseCifrado {


	protected int tX,tY;
	protected int[][] imgDither;
	protected boolean[][] C,M,Y,K;
	
	public BaseCifrado(int tamX,int tamY, int[][] imagenDither) {
		this.tX = tamX;
		this.tY = tamY;
		this.imgDither = imagenDither;

		this.C = new boolean[2*tamX][2*tamY];
		this.M = new boolean[2*tamX][2*tamY];
		this.Y = new boolean[2*tamX][2*tamY];
		this.K = new boolean[2*tamX][2*tamY];
		
		this.cifrar();
		
	}
	
	public abstract void cifrar();

	public boolean[][] getC() {
		return C;
	}

	public boolean[][] getM() {
		return M;
	}

	public boolean[][] getY() {
		return Y;
	}

	public boolean[][] getK() {
		return K;
	}
}
